import request from '@/utils/request'
import type { loginForm, loginResponce } from './type'

enum API {
  LOGIN_URL = 'user/login',
}
export const login = (data: loginForm) => request.post<any, loginResponce>(API.LOGIN_URL, data)
